home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / programming / c / adoslib / doku / adoslib.doc next >
Text File  |  1999-12-06  |  1KB  |  44 lines

  1. ADOSLIB.lib is a little linker library with functions that
  2. are not support by vbcc yet. The lib ist freeware. You have
  3. permission to copy the lib only in original version. The
  4. use is full free.
  5.  
  6. The function putenv uses strdup (not included in vbcc, you
  7. can find it in STRINGLIB.lib). All other functions uses only
  8. functions that supported in vbcc.
  9.  
  10. getcwd: return the path name of the current directory
  11. char *getcwd (char *path, int size);
  12.  
  13. SystemErrNil: System with stderr -> NIL:
  14. int SystemErrNil(char *com);
  15.  
  16. cmp: stringcompre, for use with sort()
  17. int cmp (char **a, char **b);
  18.  
  19. setenv: set up environmentvariable with value
  20. int setenv (char *name, char *value);
  21.  
  22. unlink - deletes a file
  23. int unlink (char *name);
  24.  
  25. GetCurrentPath: get full path of the current directory
  26. void GetCurrentPath (register char *path);
  27.  
  28. GetProgramPath: get full path of the directory from where the program was startet.
  29. void GetProgramPath (register char *path);
  30.  
  31. makedir: create the given directory
  32. void makedir (UBYTE *file);
  33.  
  34. putenv: write environment, usage is putenv("var=value");
  35. void putenv (char *s);
  36.  
  37. CheckSetPatchVersion: Check SetPatch is running, can also test the version and
  38. revision of SetPatch.
  39. BOOL CheckSetPatchVersion(struct ExecBase *SysBase, UWORD version, UWORD revision);
  40.  
  41. CheckProzessor: Check CPU and FPU from program and system.
  42. CPU/FPU come from the compiler by -DCPU and -DFPU.
  43. BOOL CheckProzessor();
  44.